package com.kevin.elasticjob.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * @author Kevin Liu
 * @date 2020/7/31 下午4:12
 */
@Data
@TableName("user")
public class User {

    @TableId(value="id",type = IdType.NONE)
    private Long id;

    private String username;
}
